import Vue from 'vue'
import 'normalize.css/normalize.css' // A modern alternative to CSS resets
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import App from './App'
import store from './store'
import router from './router'
import '@/styles/form.scss' // 主表格样式
import '@/permission' // permission control
import './wcomponents'
import axios from 'axios'
import $Util from './utils/commonUtil'
import '@/icons'
import '@/icon-font/iconfont.css'
import '@/icon-font/iconfont.js'
import '@/styles/index.scss' // global css
Vue.prototype.$Util = $Util
Vue.prototype.$ajax = axios

Vue.use(ElementUI)

Vue.config.productionTip = false
Vue.prototype.$ELEMENT = {
  size: 'mini'
}
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
